﻿<%@ Page Language="C#" AutoEventWireup="true"
    CodeBehind="Register.aspx.cs" Inherits="OnlineManagement.Web.Account.Register" %>
  
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
      <title>易养网注册</title>
    <link href="../resources/css/login.css" rel="stylesheet" type="text/css" />
    <script src="../resources/scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../resources/scripts/global.js" type="text/javascript"></script>
    <script src="../resources/scripts/reg.js" type="text/javascript"></script>
    <script src="../resources/scripts/myAjax.js" type="text/javascript"></script>
</head>
   <body>
    <%-- <div id="header_logo"></div>--%> 
    <form runat="server" id="form1">
    <div id="header_logo">
       
     </div>
    <div class="ctr_box02">
        <div class="scs_top_bg"></div>
        <div class="scs_ctr_bg">
            <div class="reg">
                <div class="top_title">
                    欢迎申请易养猪在线猪场管理系统</div>
                <div class="top_x_title">
                    如果您拥有帐号可以<a href="Login.aspx">点此登录</a>。
                </div>
               
            </div>
            <div class="reg_list_inp" style="padding-top:38px">
                <div class="left_wt">用户名：</div>
                <div class="right_inp">
                    <input id="userName" runat="server" title="请使用数字或者字母作为用户名" 
                    class="inp" autocomplete="off" maxlength="31" size="20"  style="width: 390px;" 
                    onkeyup="this.value=this.value.replace(/[<>=《]/,'')"
                    onfocus="if (this.value == &quot;&quot;) this.value = &quot;&quot;;this.className = &quot;inpred&quot;;"
                  />
                </div>
                <div class="right_inp">
                     <div id="tips_userName" runat="server" class="wt01">
                    </div>
                </div>
            </div>
              <div class="reg_list_inp">
                    <div class="left_wt">
                        密码：
                    </div>
                    <div class="right_inp">
                        <input type="password" runat="server" id="password1" class="inp" style="width: 390px;" onfocus="if (this.value == &quot;&quot;) this.value = &quot;&quot;;this.className = &quot;inp&quot;;"
                            onkeyup="pwStrength(this.value);" onblur="pwStrength(this.value);pwConfirm();"
                            size="20" maxlength="16"/>
                     </div>
                    <div class="right_inp">
                        <div class="wt01" id="tips_password">
                        </div>
                    </div>
                </div>
                <div class="reg_list_inp">
                    <div class="left_wt">
                        确认密码：
                    </div>
                    <div class="right_inp">
                        <input type="password" id="password2" runat="server" class="inp" style="width: 390px;" onfocus="if (this.value == &quot;&quot;) this.value = &quot;&quot;;this.className = &quot;inp&quot;;"
                            onblur="pwStrength(this.value, 'tips_password1');pwConfirm();" size="20" maxlength="16"/>
                     </div>
                    <div class="right_inp">
                        <div class="wt01" id="tips_password1" runat="server">
                        </div>
                    </div>
                </div>
            <div class="reg_list_inp">
                <div class="left_wt">厂长姓名：</div>
                <div class="right_inp">
                    <input id="txtHoggeryManager" runat="server" title="请输入您的真实姓名" class="inp" autocomplete="off" maxlength="31" size="20" style="width: 390px;" />
                </div>
                <div class="right_inp">
                     <div id="tips_Manager" class="wt01">
                    </div>
                </div>
            </div>
           
            <div class="reg_list_inp">
                <div class="left_wt">猪场名称：</div>
                <div class="right_inp">
                    <span>
                        <input id="txtHoggeryName" runat="server" class="inp" autocomplete="off" maxlength="31" size="20" style="width: 390px" />
                    </span>
                </div>
                <div class="right_inp">
                    <div id="tips_Address" class="wt01">
                    </div>
                </div>
            </div>
            <div class="reg_list_inp">
                <div class="left_wt">
                    验证码：</div>
                <div class="right_inp">
                    <div class="validation_inpbox">
                        <input id="identity" runat="server" class="inp" type="text" maxlength="6" size="20" style="width: 60px;"
                            name="validation" />
                    </div>
                    <div class="validation_imgbox">
                        <a id="img" href="javascript:;">
                                <asp:Image ID="authcode_img" runat="server" />
                        </a>
                    </div>
                </div>
                <div class="right_inp">
                    <div id="tips_authcode" runat="server" class="wt01">
                    </div>
                </div>
            </div>
            <div class="reg_list_inp">
                <div class="right_inp" id="regist_msg">
                    <%--<input type="button" runat="server" id="regsubmit" class="reg_btnbg" tabindex="9" title="立即注册"/>--%>
                    <asp:Button runat="server" ID="btnRegister" CssClass="reg_btnbg" title="立即注册" OnClientClick="javascript:submitRegister();" />
                    <span id="regstat" runat="server" style="color: #CC0000"></span>
                </div>

            </div>
            
        </div>
        <div class="scs_btm_bg"></div>
    </div>

   <div style="display: none">
        <div id="autoClose" style='background:#fff;'>
            <span>Saved successfully.</span>
            <div id="show"><label id="lbSecond">3</label>
                秒后自动关闭</div>
        </div>
    </div>
    <asp:HiddenField ID="hidden" runat="server" />
</form>
    </body>
</html>